import { StrictMode, Suspense } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import { RouterProvider } from 'react-router-dom'
import routes from './router/index'
createRoot(document.getElementById('root')!).render(
  <StrictMode>
    
    <Suspense fallback={<div>加载中.......</div>}>
    <RouterProvider router={routes}/>
    </Suspense>
  </StrictMode>,
)
